{include file="public/header"}
<div id="header">
    <div class="nav_sub">
                    您好[{$loginName}]&nbsp; | <a href="{:url('admin/logout')}">退出</a>
    </div>
    <div id="Logo"><a href=""><img src="{load href='/static/images/logo_min.png'}"></a></div>
    <ul id="main_nav" class="clearfix">
        {volist name="mainMenu" id="item"}
            <li {if condition="$key == $menu_index['menu']"}class="active"{/if}><a href="{:url($item['link'])}">{$item['name']}</a></li>
        {/volist}
    </ul>
</div>
<div id="mainContent">
    <div id="sidebar" >
        <ul class="menu" style="margin-top:15px;">
            {volist name="subMenu" id="item"}
                <li class="submenu">
                    <ul>
                        <li class="sub-index">
                            <b><a href="javascript:;">{$item['name']}</a></b>
                        </li>
                        {volist name="menu->getNodes($item['link'])" id="item"}
                            {if condition="substr($item['link'], -5) != '_edit' && !$item['hidden']"}
                                {assign name="itemLink" value="$item['link']" /}
                                <li><a href='{:url($itemLink)}' {if condition="$itemLink eq $nav_link"}class="current"{/if} >{$item['name']}</a></li>
                            {/if}
                        {/volist}
                    </ul>
                </li>
            {/volist}
        </ul>
    </div>
    <div id="content" >
        {__CONTENT__}
    </div>
</div>
{include file="public/footer"}